package com.zrspring.libv2.view.adview;

import java.util.ArrayList;
import java.util.List;

/**
 * Version: 1.0
 * Author: rui
 * CreatDate: 2016年05月29日21:50 50
 * Encoding:UTF-8
 * Description:
 */
public class ADViewHelper {

    /**
     * @MethodthName: getADViewEntityWithNoAction
     * @params: [urls]
     * @Return:java.util.List<com.zrspring.lib.view.adview.ADViewEntity>
     * @Throw:
     * @Description: 获取广告
     *
     */
    public static List<ADViewEntity> getADViewEntityWithNoAction(List<String> urls) {
        List<ADViewEntity> datas = new ArrayList<ADViewEntity>();
        ADViewEntity v ;
        for (String url : urls) {
            v = new ADViewEntity();
            v.setImgUrl(url);
            datas.add(v);
        }
        return datas;
    }
}
